package com.llp.javaweb.service.impl;

import com.llp.javaweb.dao.ShopCartDao;
import com.llp.javaweb.pojo.Product;
import com.llp.javaweb.pojo.UserProduct;
import com.llp.javaweb.service.ShopCartService;

import java.util.List;

/**
 * @author llp
 * {@code @date} 2022年11月03日17:49
 */

public class ShopCartServiceImpl implements ShopCartService {
    ShopCartDao shopCartDao = new ShopCartDao();

    @Override
    public List<Product> getAllUserProduct(String userid) {
        List<Product> userProducts = shopCartDao.getAllUserProduct(userid);
        return userProducts;
    }
}
